<?php
class ControllerAffiliateSuccess extends FrontController {
	public function index() {
    	$this->document->setTitle($this->_['heading_title']);

      	$this->data['breadcrumbs'][] = array(
        	'text'      => $this->_['text_account'],
			'href'      => US('affiliate/account', '', 'SSL'),
        	'separator' => $this->_['text_separator']
      	);

      	$this->data['breadcrumbs'][] = array(
        	'text'      => $this->_['text_success'],
			'href'      => US('affiliate/success'),
        	'separator' => $this->_['text_separator']
      	);

    	$this->data['heading_title'] = $this->_['heading_title'];
		$this->data['text_message'] = sprintf($this->_['text_approval'], C('config_name'), U('page/contact'));
		$this->data['continue'] = U('affiliate/account', '', 'SSL');

		$this->display('common/success.tpl');
  	}
}
?>